package cn.yiufung.qxquartz.common;

/**
 * @author 姚锋
 * @createTime 2023年08月18日 11:45:00
 */
public enum ResultCodeEnum {

    /**
     * 成功
     */
    SUCCESS("CODE_0000", "成功"),

    /**
     * 警告
     */
    WARN("CODE_0100", "警告"),

    /**
     * 错误
     */
    ERROR("CODE_0200", "错误");

    private String code;

    private String msg;

    ResultCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
